Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an associated displacement workflow to a DataFrame #309

Merged
merged 6 commits into from
Mar 6, 2023

Conversation

PProfizi
Copy link
Contributor

@PProfizi PProfizi commented Mar 6, 2023

For animations on a deformed mesh.
A DataFrame holds a reference to a displacement query workflow to get displacement fields for updated coordinates whenever necessary. The ouptut of this workflow is passed to the Plotter as a deform_by argument.

@PProfizi PProfizi added the enhancement New feature or request label Mar 6, 2023
@PProfizi PProfizi added this to the v0.2.6 milestone Mar 6, 2023
@PProfizi PProfizi self-assigned this Mar 6, 2023
@codecov
Copy link

codecov bot commented Mar 6, 2023

Codecov Report

Merging #309 (c089004) into post_refactor (41585af) will decrease coverage by 0.03%.
The diff coverage is 85.24%.

@@                Coverage Diff                @@
##           post_refactor     #309      +/-   ##
=================================================
- Coverage          82.66%   82.64%   -0.03%     
=================================================
  Files                 35       35              
  Lines               3098     3146      +48     
=================================================
+ Hits                2561     2600      +39     
- Misses               537      546       +9     

@PProfizi PProfizi requested a review from cbellot000 March 6, 2023 11:15
@PProfizi PProfizi merged commit c1a80cf into post_refactor Mar 6, 2023
@PProfizi PProfizi deleted the post_refactor_dataframe_disp_wf branch March 6, 2023 13:15
@PProfizi PProfizi linked an issue Mar 6, 2023 that may be closed by this pull request
PProfizi added a commit that referenced this pull request Mar 8, 2023
* Implement DataFrame._disp_wf to associate a lazy displacement evaluation for plot and animate

* Expose dpf.core.common.shell_layers as dpf.post.shell_layers

* Improve type-hinting for DataFrame.columns and DataFrame.index

* Add shell_layer selection to DataFrame.animate, as well as merging of shell and solid fields. Reciprocate for displacement workflow.

* Improve test_dataframe_animate

* Improve DataFrame.animate docstring
PProfizi added a commit that referenced this pull request Mar 8, 2023
* Implement DataFrame._disp_wf to associate a lazy displacement evaluation for plot and animate

* Expose dpf.core.common.shell_layers as dpf.post.shell_layers

* Improve type-hinting for DataFrame.columns and DataFrame.index

* Add shell_layer selection to DataFrame.animate, as well as merging of shell and solid fields. Reciprocate for displacement workflow.

* Improve test_dataframe_animate

* Improve DataFrame.animate docstring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add animations to Post
2 participants